package com.cjw.pojo.query.person;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author : cjw
 * @date: : 2022/1/31 20:59
 * @description : 添加朗读DTO
 */
@Data
@ApiModel("添加朗读DTO")
public class AddReadDTO {
    @ApiModelProperty("标题")
    @NotNull
    private String topic;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("图片URL")
    private String picture;

    @ApiModelProperty("权限-1公开 0-不公开")
    @NotNull
    private Integer isPublic;

    @ApiModelProperty("视频url")
    @NotNull
    private String readUrl;

    @ApiModelProperty("标签名List")
    private List<String> tagNames;
}
